package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huabo.audit.config.IgnoreSwaggerParameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("TBL_NBSJ_WORKREPORT")
@Data
@ApiModel("实体类")
public class TblNbsjWorkReportEntity {
	
//	private static final long serialVersionUID = -1470174547811550823L;
	
	@TableId(value = "REPORTID", type= IdType.AUTO)
	@ApiModelProperty(value="")
	private BigDecimal reportid;
	
	@TableField(value = "tblReporttemple")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private TblReporttempleEntity tblReporttemple;
	
	@TableField(value = "REPORTNAME")
	@ApiModelProperty(value="")
	private String reportname;
	
	@TableField(value = "REPORTTIME")
	@ApiModelProperty(value="")
	@DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
	private Date reporttime;
	
	@TableField(value = "REPORTTYPE")
	@ApiModelProperty(value="")
	private String reporttype;
	
	@TableField(value = "REPORTMODE")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private String reportmode;
	
	@TableField(value = "")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private TblStaff reporter;
	
	@TableField(value = "REPORTDEPARTMENT")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private TblOrganization reportdepartment;
	
	@TableField(value = "reportstatus")
	@ApiModelProperty(value="")
	private String reportstatus;
	
	@TableField(value = "reportfile")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private String reportfile;
	
	@TableField(value = "memo")
	@ApiModelProperty(value="")
	private String memo;
	
	@TableField(value = "itemtype")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private String itemtype;
	
	@TableField(value = "repdesc")
	@ApiModelProperty(value="")
	private String repdesc;
	
	@TableField(value = "projectId")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private TblNbsjProject projectId;
	
	@TableField(value = "tblOrganization")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private TblOrganization tblOrganization;
	
	@TableField(value = "fhStaff")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private TblStaff fhStaff;
	
	@TableField(value = "zqyjStaff")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private TblStaff zqyjStaff;
	
	@TableField(value = "yjdes")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private String yjdes;
	
	@TableField(value = "tblAttachments")
	@ApiModelProperty(value="",hidden = true)
	@IgnoreSwaggerParameter
	private Set<TblAttachment> tblAttachments;
	
	
	@TableField(value = "reportnamestatus")
	@ApiModelProperty(value="")
	private String reportnamestatus;
	
	@TableField(value = "reporttypestatus")
	@ApiModelProperty(value="")
	private String reporttypestatus;
	
	@TableField(value = "reportmodestatus")
	@ApiModelProperty(value="")
	private String reportmodestatus;
	
	@TableField(value = "reporttimestatus")
	@ApiModelProperty(value="")
	private String reporttimestatus;
	
	@TableField(value = "REPORTER")
	@ApiModelProperty(value="")
	private Integer reporterid;
	
	@TableField(value = "REPORTDEPARTMENT")
	@ApiModelProperty(value="")
	private Integer reportdepartmentid;
	
	@TableField(value = "PROJECTID")
	@ApiModelProperty(value="",hidden = true)
	private Integer _projectid;

}
